package com.bjsxt.service.impl;

import com.bjsxt.service.EchoService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;

@Service
public class EchoServiceImpl implements EchoService {

    @Value("${dubbo.protocol.port}")
    private Integer port ;

    @Override
    public String echo(String message) {
        return "[Echo]:"+message +"我是："+port ;
    }
}
